package com.lx.core.weight.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lx.core.weight.entity.dto.EmployerStaticDTO;
import com.lx.core.weight.entity.dto.WeightPageDTO;
import com.lx.core.weight.entity.vo.*;
import com.lx.framework.core.entity.SysAdmin;
import com.lx.framework.core.model.SysAdminDTO;

import java.util.List;

public interface WeightService {

    WeightVO page(IPage<WeightVO> page, WeightPageDTO weightPageDTO);

    List<WeightPageList> exportExcel(WeightPageDTO weightPageDTO);

    CurrentDayDataVO getCurrentDayData();

    List<CurrentDayGoodsWeightVO> getCurrentDayGoodsWeight();

    List<PriceLastSevenGoodsVO> getLastSevenDayAveragePrice(int goodsType);

    List<PriceLastFiveYearGoodsVO> getPastFiveYearGoodsTypePriceByDay(int goodsType);

    List<WeightLastFiveYearGoodsVO> getPastFiveYearGoodsTypeWeightByDay(int goodsType);

    List<PriceLastFiveYearGoodsVO> getPastFiveYearGoodsTypePriceByWeek(int goodsType);

    List<WeightLastFiveYearGoodsVO> getPastFiveYearGoodsTypeWeightByWeek(int goodsType);

    List<PriceLastFiveYearGoodsVO> getPastFiveYearGoodsTypePriceByMonth(int goodsType);

    List<WeightLastFiveYearGoodsVO> getPastFiveYearGoodsTypeWeightByMonth(int goodsType);

    List<FeeLastMonthVO> getLastMonthDayFee(int goodsType);

    List<WeightNumberUseInfoVO> getCurrentWeightNumberUse(int goodsType);

    Page<SysAdminDTO> getSyaAdminPage(IPage<SysAdminDTO> page, String username);

    EmployerWeightCountVO getEmployerWeightCount(IPage<EmployerWeightCountVO> page, EmployerStaticDTO employerStaticDTO);
}
